package com.yisoo.ubag.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yisoo.common.utils.PageUtils;
import com.yisoo.common.utils.R;
import com.yisoo.ubag.product.entity.ConBraSceEntity;
import com.yisoo.ubag.product.vo.TransferBrandDataVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author mmciel
 * @email 761998179@qq.com
 * @date 2021-02-06 17:43:43
 */
public interface ConBraSceService extends IService<ConBraSceEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //返回指定id 和指定的所有可用品牌
    List<TransferBrandDataVo> getEnableBrandByCidAndSid(Long cid,Long sid);

    //根据consumer和scene查询 所有
    List<ConBraSceEntity> getHaveList(Long cid, Long sid);

    R getTree(Long cid);
}

